package com.lanou.service;

import com.lanou.bean.CpnUseRecord;

import java.util.List;

public interface CpnUseRecordService{

    List<CpnUseRecord> selectCpnUseRecordbyVipNo(String vipNo);

    int insertSelective(CpnUseRecord record);

    //获取会员和代金券关联的最大id
    int selectMaxidInCpnUseRecord();

    List<CpnUseRecord> selectAllCpnUseRecordByVipNo(String vipNo);

    //根据会员编号和代金券编号修改会员代金券表信息
    int updateCpnUseRecordByCpnNoVipNo(CpnUseRecord cpnUseRecord);

    //查询订单的最大编号
    String selectMaxOrderNo();
}
